package com.qf.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(description = "用户收藏药品表")
@TableName("drug_favorite")
public class DrugFavorite extends Model<DrugFavorite> {

    @ApiModelProperty(name = "id", value = "主键ID")
    private Integer id;

    @ApiModelProperty(name = "userId", value = "用户ID")
    private Integer userId;

    @ApiModelProperty(name = "drugId", value = "药品文章ID")
    private Integer drugId;

    @ApiModelProperty(name = "favoriteStatus", value = "收藏状态 (0: 未收藏, 1: 已收藏)")
    private Integer favoriteStatus;

    @ApiModelProperty(name = "createTime", value = "创建时间")
    // 创建时间
    private String createTime;

    @ApiModelProperty(name = "updateTime", value = "更新时间")
    // 更新时间
    private String updateTime;

}
